package com.learnyou.server.xingzuo.controller.web;

import com.learnyou.server.xingzuo.dto.paramDTO.BehaviorQueryDTO;
import com.learnyou.server.xingzuo.dto.resultDTO.BehaviorResultDTO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/behavior")
@Api(tags = "BehaviorResource")
public interface BehaviorResource {

    /**
     * 查询指定设备的行为列表
     */
    @ApiOperation(value = "查询指定设备的行为列表")
    @GetMapping(produces = MediaType.APPLICATION_JSON_VALUE)
    BehaviorResultDTO behaviorsOfDay(BehaviorQueryDTO behaviorQueryDTO);
}
